package day07.test;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入车牌号和轴距");
        Vehicle objVehicle = new Vehicle(sc.next(), sc.nextInt());
        System.out.println("车辆信息如下：");
        objVehicle.show();
        System.out.println("请输入车牌号、轴距和限载人数: ");
        Bus odjBus = new Bus(sc.next(), sc.nextInt(), sc.nextInt());
        System.out.println(odjBus);
    }

}
